FROM k8s101.olboyedu.com:5000/alpine
RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tuna.tsinghua.edu.cn/g' /etc/apk/repositories && \
    apk update && \
    apk add nginx && \
    rm -rf /var/cache && \
    rm -rf /usr/share/nginx/html/*
EXPOSE 80
ADD . /usr/share/nginx/html/
COPY default.conf /etc/nginx/http.d/
CMD ["nginx","-g","daemon off;"]
